#include "Atomizer.h"

/*宏定义*/
#define WATER_IO 13

/*全局变量*/
volatile uint8_t water_switch = 0;//雾化器开关标志 0--关闭 1--开启

/*全局函数*/
void Atomizer_Init(void)
{
    pinMode(WATER_IO, OUTPUT);

    digitalWrite(WATER_IO, HIGH);

    Serial.println("Atomizer_Init success");
}

void Atomizer_Open(void)
{
    digitalWrite(WATER_IO, LOW);

    Serial.println("Atomizer_Open");
}

void Atomizer_Close(void)
{
    digitalWrite(WATER_IO, HIGH);

    Serial.println("Atomizer_Close");
}